<?php
namespace heihei\libs\weixin\mp;

use yii\base\BaseObject;
use Exception;
use heihei\helpers\HttpClientHelper;

/**
 * 微信基础API操作类
 */
class BaseMP extends BaseObject{
    private $_api = null;

    public function getApi(){
        return $this->_api;
    }

    public function setApi($value){
        $this->_api = $value;
    }

    public function getCache(){
        return $this->_api->cache;
    }

    public function getAppid(){
        return $this->_api->appid;
    }

    public function getSecret(){
        return $this->_api->secret;
    }

    public function getAccessToken(){
        return $this->_api->accessToken;
    }
}